import request from '@/utils/request'

//应收查询
export function YingPages(Cha) {
  return request({
    url: '/services/app/YingshouDataService/GetAll',
    method: 'get',
    params: Cha
  })
}
//应收批删
export function Yingpideletes(id) {
  return request({
    url: '/services/app/YingshouDataService/Delete',
    method: 'delete',
    params: {Id:id}
  })
}
//应收单删
export function YingDeletes(id) {
  return request({
    url: '/services/app/YingshouDataService/Delete',
    method: 'delete',
    params: {Id:id}
  })
}
//应收添加
export function YingBaos(aa) {
  return request({
    url: '/services/app/YingshouDataService/Create',
    method: 'post',
    data: aa
  })
}
//应收反填
export function YingEdits(aa) {
  return request({
    url: '/services/app/YingshouDataService/Get',
    method: 'get',
    params: {Id:aa}
  })
}
//应收修改
export function YingEintBaos(aa) {
  return request({
    url: '/services/app/YingshouDataService/Update',
    method: 'put',
    data: aa
  })
}
//应付显示查询
export function FeiPages(Cha) {
  return request({
    url: '/services/app/YingfuDataService/GetAll',
    method: 'get',
    params: Cha
  })
}
//应付删除
export function FeiDeletes(id) {
  return request({
    url: '/services/app/YingfuDataService/Delete',
    method: 'delete',
    params: {Id:id}
  })
}
//应付批删除
export function Feipideletes(id) {
  return request({
    url: '/services/app/YingfuDataService/Delete',
    method: 'delete',
    params: {Id:id}
  })
}
//应付添加
export function FeiBaos(aa) {
  return request({
    url: '/services/app/YingfuDataService/Create',
    method: 'post',
    data: aa
  })
}
//应付反填
export function FeiEdits(id) {
  return request({
    url: '/services/app/YingfuDataService/Get',
    method: 'get',
    params: {Id:id}
  })
}
//应付反填
export function FeiEintBaos(aa) {
  return request({
    url: '/services/app/YingfuDataService/Update',
    method: 'put',
    data: aa
  })
}
//进项查询
export function JinPages(aa) {
  return request({
    url: '/services/app/JinxiangDataService/GetAll',
    method: 'get',
    params: aa
  })
}
//进项删除
export function JinDeletes(aa) {
  return request({
    url: '/services/app/JinxiangDataService/Delete',
    method: 'delete',
    params: {Id:aa}
  })
}
//进项批删除
export function Jinpideletes(aa) {
  return request({
    url: '/services/app/JinxiangDataService/Delete',
    method: 'delete',
    params: {Id:aa}
  })
}
//进项添加
export function JinBaos(aa) {
  return request({
    url: '/services/app/JinxiangDataService/Create',
    method: 'post',
    data: aa
  })
}
//进项修改
export function JinEintBaos(aa) {
  return request({
    url: '/services/app/JinxiangDataService/Update',
    method: 'put',
    data: aa
  })
}
//进项修改
export function JinEdits(aa) {
  return request({
    url: '/services/app/JinxiangDataService/Get',
    method: 'get',
    params: {Id:aa}
  })
}
//销项显示查询
export function XiaoPages(aa) {
  return request({
    url: '/services/app/XiaoxiangDataService/GetAll',
    method: 'get',
    params:aa
  })
}
//销项删除
export function XiaoDeletes(aa) {
  return request({
    url: '/services/app/XiaoxiangDataService/Delete',
    method: 'delete',
    params:{Id:aa}
  })
}
//销项批删除
export function Xiaopideletes(aa) {
  return request({
    url: '/services/app/XiaoxiangDataService/Delete',
    method: 'delete',
    params:{Id:aa}
  })
}
//销项反填
export function XiaoEdits(aa) {
  return request({
    url: '/services/app/XiaoxiangDataService/Get',
    method: 'get',
    params:{Id:aa}
  })
}

//销项添加
export function XiaoBaos(aa) {
  return request({
    url: '/services/app/XiaoxiangDataService/Create',
    method: 'post',
    data:aa
  })
}
//销项修改保存
export function XiaoEintBaos(aa) {
  return request({
    url: '/services/app/XiaoxiangDataService/Update',
    method: 'put',
    data:aa
  })
}
//销项修改保存
export function FuPages(Cha) {
  return request({
    url: '/services/app/FukuanDataService/GetAll',
    method: 'get',
    params:Cha
  })
}
//销项删除
export function FuDeletes(id) {
  return request({
    url: '/services/app/FukuanDataService/Delete',
    method: 'delete',
    params:{Id:id}
  })
}
//销项删除
export function Fupideletes(id) {
  return request({
    url: '/services/app/FukuanDataService/Delete',
    method: 'delete',
    params:{Id:id}
  })
}
//销项添加
export function FuBaos(aa) {
  return request({
    url: '/services/app/FukuanDataService/Create',
    method: 'post',
    data:aa
  })
}
//销项反填
export function FuEdits(id) {
  return request({
    url: '/services/app/FukuanDataService/Get',
    method: 'get',
    params:{Id:id}
  })
}
//销项修稿保存
export function FuEintBaos(list) {
  return request({
    url: '/services/app/FukuanDataService/Update',
    method: 'put',
    data:list
  })
}